package edu.cs.usask.ca.silver.plugin.rcp.pages.preferences;

import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;

import edu.cs.usask.ca.silver.plugin.rcp.Activator;

public class SimulationPreferencePage extends FieldEditorPreferencePage
		implements IWorkbenchPreferencePage {

	public SimulationPreferencePage() {
		super(GRID);
	}

	@Override
	public void init(IWorkbench workbench) {
		setPreferenceStore(Activator.getDefault().getPreferenceStore());
		setDescription("The following page will provide simulation "
				+ "software info to silver (such as the location of the "
				+ "software, the location of the libraries etc).\n\n"
				+ "Due to the limited support, only Vensim and Anylogic (6.2.2) "
				+ "are supported by Silver at the time. We are working hard "
				+ "to bring support to more simulation software in the future.");
	}

	@Override
	protected void createFieldEditors() {

	}

}
